var moment = require('moment');
var _ = require('underscore');

module.exports = function (app) {
  app.get('/mobile/user/:userId/app/:appId/httptransaction.json', function (req, res) {
    res.status(200).json({
      "result": [
        {
          "combData": {
            "count": 31651,
            "et": 1452160800000,
            "st": 1451556000000,
            "val": 18634.01958
          },
          "data": [
            {
              "count": 31651,
              "et": 1452160800000,
              "st": 1451556000000,
              "val": 18634.01958
            }
          ],
          "id": 4,
          "name": "110228"
        }
      ],
      "timeSpan": {
        "endTime": 1452160800000,
        "interval": 604800000,
        "startTime": 1451556000000
      }
    });
  });
};
